package org.apache.jsp.WEB_002dINF.themes;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class portlet_002dskin_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(1);
    _jspx_dependants.add("/WEB-INF/tld/pluto.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fpluto_005fportlet_0026_005fportletId;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fpluto_005ftitle_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fpluto_005fmodeDropDown_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fpluto_005frender_005fnobody;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fpluto_005fportlet_0026_005fportletId = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fpluto_005ftitle_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fpluto_005fmodeDropDown_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fpluto_005frender_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fpluto_005fportlet_0026_005fportletId.release();
    _005fjspx_005ftagPool_005fpluto_005ftitle_005fnobody.release();
    _005fjspx_005ftagPool_005fpluto_005fmodeDropDown_005fnobody.release();
    _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.release();
    _005fjspx_005ftagPool_005fpluto_005frender_005fnobody.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<!-- Use pluto portlet tag to render the portlet -->\n");
      //  pluto:portlet
      org.apache.pluto.driver.tags.PortletTag _jspx_th_pluto_005fportlet_005f0 = (org.apache.pluto.driver.tags.PortletTag) _005fjspx_005ftagPool_005fpluto_005fportlet_0026_005fportletId.get(org.apache.pluto.driver.tags.PortletTag.class);
      _jspx_th_pluto_005fportlet_005f0.setPageContext(_jspx_page_context);
      _jspx_th_pluto_005fportlet_005f0.setParent(null);
      // /WEB-INF/themes/portlet-skin.jsp(23,0) name = portletId type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_pluto_005fportlet_005f0.setPortletId("${portlet}");
      int _jspx_eval_pluto_005fportlet_005f0 = _jspx_th_pluto_005fportlet_005f0.doStartTag();
      if (_jspx_eval_pluto_005fportlet_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_pluto_005fportlet_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_pluto_005fportlet_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_pluto_005fportlet_005f0.doInitBody();
        }
        do {
          out.write("\n");
          out.write("\n");
          out.write("  <!-- Assemble the rendering result -->\n");
          out.write("  <div class=\"portlet\">\n");
          out.write("    <table class=\"header\" width=\"100%\">\n");
          out.write("    \t<tr>\n");
          out.write("    \t<td class=\"header\" align=\"left\">\n");
          out.write("\t      <!-- Portlet Title -->\n");
          out.write("\t      <h2 class=\"title\">");
          if (_jspx_meth_pluto_005ftitle_005f0(_jspx_th_pluto_005fportlet_005f0, _jspx_page_context))
            return;
          out.write("</h2>\n");
          out.write("\t</td>\n");
          out.write("        <td class=\"header\" align=\"right\">\n");
          out.write("\t      <!-- Portlet Mode Controls -->\n");
          out.write("\t      ");
          if (_jspx_meth_pluto_005fmodeDropDown_005f0(_jspx_th_pluto_005fportlet_005f0, _jspx_page_context))
            return;
          out.write("\n");
          out.write("\t\n");
          out.write("\t      <!-- Window State Controls -->\n");
          out.write("\t      ");
          //  pluto:windowStateAnchor
          org.apache.pluto.driver.tags.PortletWindowStateAnchorTag _jspx_th_pluto_005fwindowStateAnchor_005f0 = (org.apache.pluto.driver.tags.PortletWindowStateAnchorTag) _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.get(org.apache.pluto.driver.tags.PortletWindowStateAnchorTag.class);
          _jspx_th_pluto_005fwindowStateAnchor_005f0.setPageContext(_jspx_page_context);
          _jspx_th_pluto_005fwindowStateAnchor_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_pluto_005fportlet_005f0);
          // /WEB-INF/themes/portlet-skin.jsp(38,7) name = windowState type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_pluto_005fwindowStateAnchor_005f0.setWindowState("minimized");
          // /WEB-INF/themes/portlet-skin.jsp(38,7) name = icon type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_pluto_005fwindowStateAnchor_005f0.setIcon( request.getContextPath() + "/images/controls/min.png");
          int _jspx_eval_pluto_005fwindowStateAnchor_005f0 = _jspx_th_pluto_005fwindowStateAnchor_005f0.doStartTag();
          if (_jspx_th_pluto_005fwindowStateAnchor_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.reuse(_jspx_th_pluto_005fwindowStateAnchor_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.reuse(_jspx_th_pluto_005fwindowStateAnchor_005f0);
          out.write("\n");
          out.write("\t      ");
          //  pluto:windowStateAnchor
          org.apache.pluto.driver.tags.PortletWindowStateAnchorTag _jspx_th_pluto_005fwindowStateAnchor_005f1 = (org.apache.pluto.driver.tags.PortletWindowStateAnchorTag) _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.get(org.apache.pluto.driver.tags.PortletWindowStateAnchorTag.class);
          _jspx_th_pluto_005fwindowStateAnchor_005f1.setPageContext(_jspx_page_context);
          _jspx_th_pluto_005fwindowStateAnchor_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_pluto_005fportlet_005f0);
          // /WEB-INF/themes/portlet-skin.jsp(39,7) name = windowState type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_pluto_005fwindowStateAnchor_005f1.setWindowState("maximized");
          // /WEB-INF/themes/portlet-skin.jsp(39,7) name = icon type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_pluto_005fwindowStateAnchor_005f1.setIcon( request.getContextPath() + "/images/controls/max.png");
          int _jspx_eval_pluto_005fwindowStateAnchor_005f1 = _jspx_th_pluto_005fwindowStateAnchor_005f1.doStartTag();
          if (_jspx_th_pluto_005fwindowStateAnchor_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.reuse(_jspx_th_pluto_005fwindowStateAnchor_005f1);
            return;
          }
          _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.reuse(_jspx_th_pluto_005fwindowStateAnchor_005f1);
          out.write("\n");
          out.write("\t      ");
          //  pluto:windowStateAnchor
          org.apache.pluto.driver.tags.PortletWindowStateAnchorTag _jspx_th_pluto_005fwindowStateAnchor_005f2 = (org.apache.pluto.driver.tags.PortletWindowStateAnchorTag) _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.get(org.apache.pluto.driver.tags.PortletWindowStateAnchorTag.class);
          _jspx_th_pluto_005fwindowStateAnchor_005f2.setPageContext(_jspx_page_context);
          _jspx_th_pluto_005fwindowStateAnchor_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_pluto_005fportlet_005f0);
          // /WEB-INF/themes/portlet-skin.jsp(40,7) name = windowState type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_pluto_005fwindowStateAnchor_005f2.setWindowState("normal");
          // /WEB-INF/themes/portlet-skin.jsp(40,7) name = icon type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_pluto_005fwindowStateAnchor_005f2.setIcon( request.getContextPath() + "/images/controls/norm.png");
          int _jspx_eval_pluto_005fwindowStateAnchor_005f2 = _jspx_th_pluto_005fwindowStateAnchor_005f2.doStartTag();
          if (_jspx_th_pluto_005fwindowStateAnchor_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.reuse(_jspx_th_pluto_005fwindowStateAnchor_005f2);
            return;
          }
          _005fjspx_005ftagPool_005fpluto_005fwindowStateAnchor_0026_005fwindowState_005ficon_005fnobody.reuse(_jspx_th_pluto_005fwindowStateAnchor_005f2);
          out.write("\n");
          out.write("    \t</td>\n");
          out.write("    \t</tr>\n");
          out.write("    </table>\n");
          out.write("    <div class=\"body\">\n");
          out.write("      ");
          if (_jspx_meth_pluto_005frender_005f0(_jspx_th_pluto_005fportlet_005f0, _jspx_page_context))
            return;
          out.write("\n");
          out.write("    </div>\n");
          out.write("  </div>\n");
          out.write("\n");
          int evalDoAfterBody = _jspx_th_pluto_005fportlet_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_pluto_005fportlet_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_pluto_005fportlet_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fpluto_005fportlet_0026_005fportletId.reuse(_jspx_th_pluto_005fportlet_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fpluto_005fportlet_0026_005fportletId.reuse(_jspx_th_pluto_005fportlet_005f0);
      out.write('\n');
      out.write('\n');
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_pluto_005ftitle_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_pluto_005fportlet_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  pluto:title
    org.apache.pluto.driver.tags.PortletTitleTag _jspx_th_pluto_005ftitle_005f0 = (org.apache.pluto.driver.tags.PortletTitleTag) _005fjspx_005ftagPool_005fpluto_005ftitle_005fnobody.get(org.apache.pluto.driver.tags.PortletTitleTag.class);
    _jspx_th_pluto_005ftitle_005f0.setPageContext(_jspx_page_context);
    _jspx_th_pluto_005ftitle_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_pluto_005fportlet_005f0);
    int _jspx_eval_pluto_005ftitle_005f0 = _jspx_th_pluto_005ftitle_005f0.doStartTag();
    if (_jspx_th_pluto_005ftitle_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fpluto_005ftitle_005fnobody.reuse(_jspx_th_pluto_005ftitle_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fpluto_005ftitle_005fnobody.reuse(_jspx_th_pluto_005ftitle_005f0);
    return false;
  }

  private boolean _jspx_meth_pluto_005fmodeDropDown_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_pluto_005fportlet_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  pluto:modeDropDown
    org.apache.pluto.driver.tags.PortletModeDropDownTag _jspx_th_pluto_005fmodeDropDown_005f0 = (org.apache.pluto.driver.tags.PortletModeDropDownTag) _005fjspx_005ftagPool_005fpluto_005fmodeDropDown_005fnobody.get(org.apache.pluto.driver.tags.PortletModeDropDownTag.class);
    _jspx_th_pluto_005fmodeDropDown_005f0.setPageContext(_jspx_page_context);
    _jspx_th_pluto_005fmodeDropDown_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_pluto_005fportlet_005f0);
    int _jspx_eval_pluto_005fmodeDropDown_005f0 = _jspx_th_pluto_005fmodeDropDown_005f0.doStartTag();
    if (_jspx_th_pluto_005fmodeDropDown_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fpluto_005fmodeDropDown_005fnobody.reuse(_jspx_th_pluto_005fmodeDropDown_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fpluto_005fmodeDropDown_005fnobody.reuse(_jspx_th_pluto_005fmodeDropDown_005f0);
    return false;
  }

  private boolean _jspx_meth_pluto_005frender_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_pluto_005fportlet_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  pluto:render
    org.apache.pluto.driver.tags.PortletRenderTag _jspx_th_pluto_005frender_005f0 = (org.apache.pluto.driver.tags.PortletRenderTag) _005fjspx_005ftagPool_005fpluto_005frender_005fnobody.get(org.apache.pluto.driver.tags.PortletRenderTag.class);
    _jspx_th_pluto_005frender_005f0.setPageContext(_jspx_page_context);
    _jspx_th_pluto_005frender_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_pluto_005fportlet_005f0);
    int _jspx_eval_pluto_005frender_005f0 = _jspx_th_pluto_005frender_005f0.doStartTag();
    if (_jspx_th_pluto_005frender_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fpluto_005frender_005fnobody.reuse(_jspx_th_pluto_005frender_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fpluto_005frender_005fnobody.reuse(_jspx_th_pluto_005frender_005f0);
    return false;
  }
}
